package com.aifund.common.dao;

import com.aifund.common.entity.FollowOrderManTactics;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;


public interface FollowOrderManTacticsDao extends JpaRepository<FollowOrderManTactics,Long> {


    /**
     * 根据策略和跟单状态获取策略的跟单人数
     * @param tacticsId
     * @param status
     * @return
     */
    List<FollowOrderManTactics> getAllByExchangeManTacticsIdAndStatus(Long tacticsId,Integer status);

}
